<?php
	/*
		该页面是对index1的补充：
			将数据从数据库中取出并比对。 对穴位的归经进行了补充。未完待补
	*/


	header('content-type:text/html;charset=UTF-8');
	ini_set('max_execution_time', '0');
	require "MyPdo.class.php";
	$pdo = new MyPdo();


	$sql = "select lefts,rights from translate_info where typeid=20";
	$res = $pdo->dql($sql,array());
	foreach($res as $v){
		echo $v['rights'].'<br><br>';
		$p = "/([\x80-\xff]*)(?!([^\x80-\xff]*[0-9]+))(.*)/";
		preg_match_all($p, $v['rights'], $res2);
		dump($res2);
		exit;
	}









function dump($s,$t = false){
	echo "<pre>";
		var_dump($s);
	echo "</pre>";
	if($t){
		exit;
	}
}